﻿// Decompiled with JetBrains decompiler
// Type: SuperMiner.AutoMinerConfig_CreateBuildingDef
// Assembly: MG_SuperMiner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 4DA81FE3-ADC7-45B4-A911-3493B5D525DE
// Assembly location: E:\docs\Klei\OxygenNotIncluded\mods\Steam\2558070245\MG_SuperMiner.dll

using HarmonyLib;

namespace SuperMiner
{
  [HarmonyPatch("CreateBuildingDef")]
  [HarmonyPatch(typeof (AutoMinerConfig))]
  internal class AutoMinerConfig_CreateBuildingDef
  {
    public static void Postfix(BuildingDef __result)
    {
      __result.EnergyConsumptionWhenActive = 60f;
      __result.SelfHeatKilowattsWhenActive = 0.0000001f;
      __result.Entombable = false;
      __result.Floodable = false;
      __result.ContinuouslyCheckFoundation = false;
      __result.BuildLocationRule = BuildLocationRule.Anywhere;
    }
  }
}
